package com.example.demo.message.business;

import com.example.demo.domain.entity.VojSubmissions;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.jms.MapMessage;

/**
 * @author liguang03
 * @date 2024/3/13
 */
@Slf4j
@Service
public abstract class AbstractDataProcessBase {


    protected final static String ERROR_OCCURRED = "ErrorOccurred";
    protected final static String ALL_TEST_POINTS_FINISHED = "AllTestPointsFinished";




    /**
     * 获取业务场景
     * @return
     */
    public abstract String getBusiness();


    /**
     * 业务数据处理
     * @param vojSubmissions
     */
    public abstract void processData(VojSubmissions vojSubmissions, MapMessage mapMessage);
}
